/*
 * example.c
 *
 *  Created on: Oct 8, 2013
 *      Author: filipe
 */
#include "param_lib.h"
#include <iostream>

using namespace std;

int main(void)
{
	ParamList params;

	params.add<string>("name", "string", "Filipe");
	params.add<float>("pi", "float", 3.1415);
	params.add<int>("age", "int", 23);

	cout << "age: " << params.get<int>("age") << endl;
	cout << "pi: " << params.get<float>("pi") << endl;
	cout << "name: " << params.get<string>("name") << endl;
	// cout << "name: " << params.get<float>("name") << endl; // ERROR!

	return 0;
}



